import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

const router = new Router({
  mode: "hash",
  base: process.env.BASE_URL,
  routes: [
    {
      path: "/",
      component: () => import('./components/ProcessScheduling.vue')
    },
    {
      path: "/process-scheduling",
      component: () => import('./components/ProcessScheduling.vue')
    },
    {
      path: "/bankers-algorithm",
      component: () => import('./components/BankersAlgorithm.vue')
    },
    {
      path: "/paging",
      component: () => import('./components/Paging.vue')
    },
    {
      path: '/test',
      component: () => import('./components/Test.vue')
    }
  ]
});


export default router;
